package com.hq.service;

import com.hq.bean.Shouhuo;
import com.hq.bean.ShouhuoMx;
import com.hq.bean.User;
import com.hq.dao.CkDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class CkServiceImpl implements CkService {
    @Resource
    CkDao ckDao;

    @Override
    public User login(User user) {
        return ckDao.login(user);
    }

    @Override
    public List list(Map map) {
        return ckDao.list(map);
    }

    @Override
    public List cla() {
        return ckDao.cla();
    }

    @Override
    public int listsnow(String snow) {
        return ckDao.listsnow(snow);
    }

    @Override
    public List findshmx(String snowid1) {
        return ckDao.findshmx(snowid1);
    }

    @Override
    public void addsh(String snow) {
        ckDao.addsh(snow);
    }

    @Override
    public int addshmx(ShouhuoMx shouhuoMx) {
        return ckDao.addshmx(shouhuoMx);
    }

    @Override
    public int updshouhuo(Shouhuo shouhuo) {
        return ckDao.updshouhuo(shouhuo);
    }

    @Override
    public List findck(String snow) {
        return ckDao.findck(snow);
    }

    @Override
    public int delmx(String snow, String ckname) {
        return ckDao.delmx(snow,ckname);
    }

    @Override
    public List findsnn(String snow) {
        return ckDao.findsnn(snow);
    }

    @Override
    public List findalltidai() {
        return ckDao.findalltidai();
    }
}
